package com.WebMentorPro.system.mapper;

import com.WebMentorPro.system.model.dto.meeting.MeetingQueryByTeacherRequest;
import com.WebMentorPro.system.model.dto.meeting.MeetingQueryRequest;
import com.WebMentorPro.system.model.entity.Meeting;
import com.WebMentorPro.system.model.vo.MeetingVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author bianxiaoyao
* @description 针对表【meeting(开会表)】的数据库操作Mapper
* @createDate 2024-11-24 11:24:42
* @Entity generator.domain.Meeting
*/
public interface MeetingMapper extends BaseMapper<Meeting> {

    List<MeetingVO> getQuery(@Param("pageParam") Page<MeetingVO> pageParam,
                             @Param("meetingQueryRequest") MeetingQueryRequest meetingQueryRequest);

    List<MeetingVO> getQueryByTeacher(@Param("pageParam") Page<MeetingVO> pageParam,
                                      @Param("meetingQueryByTeacherRequest") MeetingQueryByTeacherRequest meetingQueryByTeacherRequest,
                                      @Param("teacherName") String teacherName);
}




